import request from '@/utils/request'

// 查询系统文章列表
export function listManage_article(query) {
  return request({
    url: '/manage/manage_article/list',
    method: 'get',
    params: query
  })
}

// 查询系统文章详细
export function getManage_article(articleId) {
  return request({
    url: '/manage/manage_article/' + articleId,
    method: 'get'
  })
}

// 新增系统文章
export function addManage_article(data) {
  return request({
    url: '/manage/manage_article',
    method: 'post',
    data: data
  })
}

// 修改系统文章
export function updateManage_article(data) {
  return request({
    url: '/manage/manage_article',
    method: 'put',
    data: data
  })
}

// 删除系统文章
export function delManage_article(articleId) {
  return request({
    url: '/manage/manage_article/' + articleId,
    method: 'delete'
  })
}
